package com.qiaofang.collectmanagebff.service.util.threadTask;

import com.qiaofang.collectmanage.stub.bean.BatchUpdateHouseAgentDTO;
import com.qiaofang.collectmanage.stub.feign.client.HouseAgentClient;

import java.util.List;


public class Task {


    HouseAgentClient houseAgentClient;

    List<BatchUpdateHouseAgentDTO> batchUpdateHouseAgentDTOS;

    public Task( HouseAgentClient houseAgentClient, List<BatchUpdateHouseAgentDTO> batchUpdateHouseAgentDTOS){
        this.houseAgentClient = houseAgentClient;
        this.batchUpdateHouseAgentDTOS = batchUpdateHouseAgentDTOS;
    }


    public void batchUpdateHouseAgent() {
        houseAgentClient.batchUpdateHouseAgent(batchUpdateHouseAgentDTOS);
    }
}
